home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 101-125 / scopedisk114 / bynery / manual.doc < prev    next >
Text File  |  1995-03-19  |  36KB  |  1,040 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                     Amiga 500 - to - PC style Hard Disk Interface
  27.  
  28.                 A Demonstration Software/Hardware Construction Project
  29.  
  30.  
  31.  
  32.                                    Products ByNery
  33.                                   14 Chambers Court
  34.                                  Mansfield, Ma. 02048
  35.  
  36.  
  37.                            Copyright 1990, Products ByNery
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.                                     Contents
  48.  
  49.  
  50.  
  51.                Chapter 1  INTRODUCTION                               1
  52.                   1.1  Background  . . . . . . . . . . . . . . . . . 1
  53.                   1.2  Shareware Plea  . . . . . . . . . . . . . . . 2
  54.                   1.3  Performance . . . . . . . . . . . . . . . . . 2
  55.                   1.4  Distribution Contents . . . . . . . . . . . . 3
  56.                   1.5  DISCLAIMER  . . . . . . . . . . . . . . . . . 3
  57.  
  58.                Chapter 2  CIRCUIT ANALYSIS                           4
  59.  
  60.                Chapter 3  CONSTRUCTION                               6
  61.                   3.1  Wiring List . . . . . . . . . . . . . . . .   7
  62.  
  63.                Chapter 4  CHECKOUT                                  11
  64.  
  65.                Chapter 5  CONTROLLER/DISK DRIVE SELECTION           12
  66.  
  67.                Chapter 6  INSTALLATION                              13
  68.                   6.1  Hardware  . . . . . . . . . . . . . . . . .  13
  69.                   6.2  Testing and Low-Level Formatting  . . . . .  14
  70.                   6.3  Software Installation . . . . . . . . . . .  14
  71.  
  72.                Chapter 7  REGISTRATION                              16
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.                                           i 
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                                       Chapter 1
  107.  
  108.                                     INTRODUCTION
  109.  
  110.  
  111.           Are you fed up with the high cost of Amiga hard disks?
  112.  
  113.           Do  you  wonder  what you get when you purchase an interface to a
  114.           pc-disk?
  115.  
  116.           Do you want a low cost alternative?
  117.  
  118.           Well, here's your answer to all of the above questions  and more.
  119.           This project will allow you to construct a LOW COST  adapter that
  120.           allows the interface of a PC-style hard disk to  the  Amiga  500.
  121.           The adapter itself can be built for less than $20.00 and consists
  122.           of  only  3  integrated circuits that cost less than $1.00 total.
  123.           The majority of the cost is for the two edge-board connectors.
  124.  
  125.           What this means is that with a little shopping you should be able
  126.           to  add  a  10Meg disk for about $150.00, or $180  with  a  power
  127.           supply.    That's about the same as  the  price  of  an  external
  128.           floppy.
  129.  
  130.  
  131.           Section 1.1  Background
  132.  
  133.  
  134.           This project started about the time a Canadian Company introduced
  135.           a PC hard disk interface for the Amiga 500. As memory serves, for
  136.           over $150.00 you could get:
  137.  
  138.                1. A schematic.
  139.                2. A device driver.
  140.                3. Some photos.
  141.                4. A bare PC board.
  142.                5. Instructions on where to BUY the parts and construct the
  143.                   interface.
  144.  
  145.           This treatment incensed me.   I will never fault the Capitalistic
  146.           system,  BUT, to be taken advantage of  was  certainly  over  and
  147.           above  the normal rules. At that time, I  decided  to  design  an
  148.           interface and write a driver.  The  following files make  up that
  149.           decision.
  150.  
  151.           Before going straight to the design and implementing, please read
  152.           the  following.
  153.  
  154.  
  155.                                         - 1 -
  156.  
  157.  
  158.  
  159.           Section 1.2  Shareware (sorta) Plea
  160.  
  161.  
  162.           This  project is SHAREWARE.  The intent, as I see it, is to share
  163.           the  development cost so  that future improvements can be offered
  164.           as well as enhancements. BOTH OF WHICH WILL BE  COMING  TO  THOSE
  165.           THAT REGISTER.
  166.  
  167.           At first, and maybe still  if enough request it when registering,
  168.           I  was  going  to offer a  circuit  board  to  entice  people  to
  169.           register.  The board is lazed out and I am currently running with
  170.           it.    After  researching the costs, I found it was going to cost
  171.           another $1000.00 to produce the first lot.  Since I  already have
  172.           invested about $1500, I decided not to offer a board.
  173.  
  174.           Then why should you register?  Easy, the driver supplied  is only
  175.           a  partial  implementation.   It will support any drive having at
  176.           least 4 heads and 306 cylinders.  This translates to about 10 Meg
  177.           of disk.
  178.  
  179.           If you register, you get:
  180.                1. A configurable driver, which provides:
  181.                     * Both RLL and MFM controller support.
  182.                     * Programmable drive size (tracks and heads).
  183.                     * Support for 2 drives of different or same sizes.
  184.                2. User friendly installation/maintenance program.
  185.                3. A positive transparency to allow PC board manufacture.
  186.                4. A complete manual including instructions on how to make
  187.                   the PC board.
  188.  
  189.           The registration packages is completed and currently available.
  190.  
  191.           For   the  sake  of   full   disclosure,    here  are  the  known
  192.           deficiencies with the current revision of the  REGISTERED driver,
  193.           rev 2.0.
  194.                1. All errors reported as 0 length transfers.
  195.                2. Drive does not AutoBoot.
  196.                3. All IO requests, except for immediate operations, are
  197.                   queued.  This is a performance issue only and transparent
  198.                   to the user.
  199.  
  200.  
  201.           Section 1.3  Performance
  202.  
  203.  
  204.           The results of this project do not produce a screamer, based upon
  205.           the claims made by other  manufacturers,  however  compared  to a
  206.           floppy disk, I don't think you'll be disappointed.
  207.  
  208.           The performance figures were supplied by the program:
  209.  
  210.                           DiskPerformance - V3.0 - 03/21/89
  211.  
  212.  
  213.  
  214.                                         - 2 - 
  215.  
  216.  
  217.  
  218.           The  test  was  run on the  last  partition  of  a  33  Megabyte,
  219.           Micropolis Disk controlled by a  Western  Digital  RLL  hard disk
  220.           controller, model 27X and  an  interleave  of  10.  The partition
  221.           size was 15 Megabytes and was empty.
  222.  
  223.           Following are the results of the test:
  224.  
  225.           File create/delete: create 16 files/sec, delete 40 files/sec
  226.           Directory scan:           102 entries/sec
  227.           Seek/read test:            83 seek/reads per second
  228.  
  229.           r/w speed: buf  1024 bytes, rd 33608 byte/sec, wr  31968 byte/sec
  230.           r/w speed: buf  8192 bytes, rd 62415 byte/sec, wr  62415 byte/sec
  231.           r/w speed: buf 32768 bytes, rd 65536 byte/sec, wr  62415 byte/sec
  232.  
  233.  
  234.           Section 1.4  Distribution Contents
  235.  
  236.  
  237.           The following files are included in the evaluation package:
  238.                * Manual.Doc         - This file.
  239.                * Schematic.part1    - IFF of first half of the schematic
  240.                                       for the hardware interface.
  241.                * Schematic.part2    - IFF of second half of the schematic
  242.                                       for the hardware interface.
  243.                * Layout.pic         - IFF of suggested Construction Layout.
  244.                * prototype.pic      - IFF of my prototype interface.
  245.                * ByNeryDemo.device  - the device driver.
  246.                * install.ByNeryDemo - program to test interface and
  247.                                       low-level format the drive.
  248.  
  249.  
  250.           Section 1.5  DISCLAIMER
  251.  
  252.  
  253.           *****************************************************************
  254.           *                            DISCLAIMER                         *
  255.           *                                                               *
  256.           *   NO REPRESENTATIONS OR WARRANTIES ARE MADE WITH RESPECT TO   *
  257.           *   THE ACCURACY, RELIABILITY, PERFORMANCE OR OPERATION OF THIS *
  258.           *   DOCUMENTATION OR OF THE ByNeryDemo INTERFACE ITSELF.        *
  259.           *                                                               *
  260.           *   DUE TO THE NATURE OF THIS PROJECT, NEITHER THE AUTHOR NOR   *
  261.           *   Products ByNery CAN BE HELD LIABLE FOR DAMAGES, REAL OR     *
  262.           *   IMPLIED, RESULTING FROM THE CONSTRUCTION, INSTALLATION OR   *
  263.           *   RELIABILITY OF THIS PROJECT.                                *
  264.           *                                                               *
  265.           *                                                               *
  266.           *****************************************************************
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.                                         - 3 - 
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.                                       Chapter 2
  284.  
  285.                                   CIRCUIT ANALYSIS
  286.  
  287.  
  288.           The Amiga 500, as  well  as all Amiga family members, utilize the
  289.           Motorola  680x0  family  of  microprocessors.    The   Hard  Disk
  290.           controller to  which this project interfaces was designed for the
  291.           INTEL 808x family of microprocessors.
  292.  
  293.           The Disk Controller requires the following signals:
  294.                1. Data Lines D0-D7.
  295.                2. Address Lines A0-A19.
  296.                3. *IOR  - When low an I/O read operation is in progress.
  297.                4. *IOW  - When low an I/O write operation is in progress.
  298.                5. RESET - When high the disk controller is reset.
  299.  
  300.           The Amiga expansion bus provides the following signals:
  301.                1. Data Lines D0-D7.  Note, only 8 bit access is used here.
  302.                2. Address Lines A1-A23.  Note, there is no A0.  This is due
  303.                   to the fact that the Amiga is a true 16 bit machine.
  304.                3. R/*W - High, read. Low, write.
  305.                4. *LDS - When low, low memory byte is being accessed.
  306.                5. *RESET - When low, the Amiga 500 is being reset.
  307.                6. *AS - When low, a valid addres is present.
  308.  
  309.           As you can  see,  the  required  lines  don't  exactly  match the
  310.           signals provided by the Amiga.  This project converts the Amiga's
  311.           signals to those expected by the controller.
  312.  
  313.           The major difference lies in the memory mapped I/O  used  by  the
  314.           Amiga  versus  the  direct I/O porting used  by  the  controller.
  315.           Conversion of the Amiga  to  a  compatible  form, requires that a
  316.           memory space, in the Amiga, be dedicated to the controller.
  317.  
  318.           By  utilizing the top eight address lines, A16  to  A23,  as  the
  319.           input  to  an  eight-bit comparator, it is possible to locate the
  320.           controller in any 32k memory boundary.
  321.  
  322.           For this project I selected EF0000  as  the base address.  IC1, a
  323.           74LS688, in  the schematic provides this comparison.  The address
  324.           strobe, *AS, is used  to  indicate to the comparator that a valid
  325.           address  is  present,  thereby  enabling the comparator's output.
  326.           When  address  is  enabled  and  the  upper  eight address  lines
  327.           represent EF, a low is  output by the comparator.
  328.  
  329.           The output  of  the  comparator  is  fed  to two, three input NOR
  330.           gates.  A   second input to the NOR gates is *LDS, the lower data
  331.  
  332.                                         - 4 - 
  333.  
  334.  
  335.  
  336.           strobe.  The third  input,  of  each  NOR gate is either from the
  337.           R/*W line directly or inverted.
  338.  
  339.           The  NOR  gate  with the direct connection to R/*W, when inverted
  340.           maps directly to the controller's *IOW signal.  The NOR gate with
  341.           the  inverted  connection   to R/*W, when  inverted  becomes  the
  342.           controller's *IOR signal.
  343.  
  344.           The only other  signal  modification required is the inversion of
  345.           the Amiga's reset line.
  346.  
  347.           To accommodate  the differences in the address lines, the Amiga's
  348.           addresses will be shifted down by one.  Therefore, Amiga  A1 will
  349.           be  connected to the controller's A0.   This  will  be  continued
  350.           until  the Amiga A15 to the controller's A14.    What  about  the
  351.           controller's other address lines?   Easy, they are just connected
  352.           to ground.
  353.  
  354.           Lastly, the controller's *MEMR, *MEMW, *DACK3 lines, features not
  355.           used in this interface, are all  tied  to 5 volts (ie. held high)
  356.           to prevent them from interfering.
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.                                         - 5 - 
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.                                       Chapter 3
  402.  
  403.                                     CONSTRUCTION
  404.  
  405.  
  406.           My prototype board was  assembled  using  a combination of point-
  407.           to-point soldering  and  a  wire  pencil.    The wire pencil is a
  408.           modification to  the wire wrapping technique which allows the use
  409.           of standard, ie. not wire-wrap,   sockets  to be used.  The catch
  410.           is that soldering must be used to finalize all connections.   The
  411.           wire used has a special insulator that melts to allow  soldering.
  412.           Unfortunately,  it is easy to melt  other  wires  insulation,  as
  413.           opposed  to  just  the one you meant, thereby causing a potential
  414.           short.  This product is manufactured by VECTOR Corporation.
  415.  
  416.           Interface Construction Parts:
  417.                Qty 1, 74LS688 (IC1) - eight bit comparator.
  418.                Qty 1, 74LS27  (IC2) - triple, three input NOR gates.
  419.                Qty 1, 74LS04  (IC3) - hex inverter.
  420.                Qty 1, 86 location on .1 inch center, edge board connector
  421.                Qty 1, 62 location on .1 inch center, edge board connector
  422.                Qty 1, perf board with solder pads on .1 inch centers.
  423.                Qty 1, 20 pin dip socket.
  424.                Qty 2, 14 pin dip socket.
  425.                Qty 3, 0.1 Microfarad Capacitors.
  426.  
  427.           The two edge board connectors are available from:
  428.  
  429.                                  Digi-Key Corporation
  430.                                 701 Brooks Ave. South
  431.                                      P.O. Box 677
  432.                            Thief River Falls, MN 56701-0677
  433.  
  434.           According to their Jan-Feb 1990 Catalog, No. 901, they are:
  435.  
  436.                62 pin connector: part number C5-31, price $2.44 quantity 1
  437.                86 pin connector: part number C5-43, price $3.22 quantity 1
  438.  
  439.           These are SOLDER-TAIL GOLD connectors.  Although you will require
  440.           wire  wrap  connectors,  for at least the 86 pin connector, these
  441.           can be made  by  utilizing Vector Corporations wire-wrap posts to
  442.           extend the pin length.
  443.  
  444.           Wire  wrap  connectors  are available, but it will require you to
  445.           search  for  them.   I found them at two, local to me, electronic
  446.           retail stores but they cost about double for tin connectors.
  447.  
  448.  
  449.  
  450.                                         - 6 - 
  451.  
  452.  
  453.  
  454.           Following IFF, Layout.pic:
  455.                -  glue the sockets into position making sure the pin 1 tabs
  456.                   are as indicated (square pad on layout).
  457.                -  Install capacitors as indicated in Layout.pic.
  458.                -  Connect one lead of Capacitor C1 to pin 20 of Socket for
  459.                   IC1.
  460.                -  Connect other lead of Capacitor C1 to pin 10 of Socket
  461.                   for IC1.
  462.                -  Connect one lead of Capacitor C2 to pin 14 of Socket for
  463.                   IC2.
  464.                -  Connect other lead of Capacitor C2 to pin 7 of Socket for
  465.                   IC2.
  466.                -  Connect other lead of Capacitor C3 to pin 7 of Socket for
  467.                   IC3.
  468.                -  Connect other lead of Capacitor C3 to pin 7 of Socket for
  469.                   IC3.
  470.                -  Install the 86 pin edge card connector as shown.
  471.                -  Install the 62 pin edge card connector as shown.
  472.  
  473.  
  474.           Section 3.1  Wiring List
  475.  
  476.  
  477.           Connect the following wiring list:
  478.  
  479.             FROM         SIGNAL              TO                   SIGNAL
  480.            =======       ======         ===================       ======
  481.            AMIGA 1       Ground            AMIGA 2                Ground
  482.                                            AMIGA 3
  483.                                            AMIGA 4
  484.                                            IC1, pin 7
  485.                                            IC1, pin 10
  486.                                            IC2, pin 7
  487.                                            IC2, pin 9
  488.                                            IC2, pin 10
  489.                                            IC2, pin 11
  490.                                            IC3, pin 1
  491.                                            IC3, pin 7
  492.                                            IC3, pin 11
  493.                                            Controller B1
  494.                                            Controller B10
  495.                                            Controller B31
  496.                                            Controller A11
  497.                                            Controller A12
  498.                                            Controller A13
  499.                                            Controller A14
  500.                                            Controller A15
  501.                                            Controller A16
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.                                        - 7 - 
  510.  
  511.  
  512.  
  513.             FROM         SIGNAL              TO                   SIGNAL
  514.            =======       ======         ===================       ======
  515.            AMIGA 5       5 Volts           AMIGA 6                5 Volts
  516.                                            IC1, pin 20
  517.                                            IC1, pin 3
  518.                                            IC1, pin 5
  519.                                            IC1, pin 9
  520.                                            IC1, pin 12
  521.                                            IC1, pin 14
  522.                                            IC1, pin 16
  523.                                            IC1, pin 18
  524.                                            IC2, pin 14
  525.                                            IC3, pin 14
  526.                                            Controller B3
  527.                                            Controller B11
  528.                                            Controller B12
  529.                                            Controller B15
  530.                                            Controller B29
  531.  
  532.            AMIGA 10      +12 Volts         Controller B9          +12 Volts
  533.  
  534.            AMIGA 75        D0              Controller A9          D0
  535.            AMIGA 77        D1              Controller A8          D1
  536.            AMIGA 79        D2              Controller A7          D2
  537.            AMIGA 81        D3              Controller A6          D3
  538.            AMIGA 83        D4              Controller A5          D4
  539.            AMIGA 86        D5              Controller A4          D5
  540.            AMIGA 84        D6              Controller A3          D6
  541.            AMIGA 82        D7              Controller A2          D7
  542.  
  543.            AMIGA 29        A1              Controller 31          A0
  544.            AMIGA 27        A2              Controller 30          A1
  545.            AMIGA 26        A3              Controller 29          A2
  546.            AMIGA 24        A4              Controller 28          A3
  547.            AMIGA 21        A5              Controller 27          A4
  548.            AMIGA 23        A6              Controller 26          A5
  549.            AMIGA 28        A7              Controller 25          A6
  550.            AMIGA 30        A8              Controller 24          A7
  551.            AMIGA 32        A9              Controller 23          A8
  552.            AMIGA 34        A10             Controller 22          A9
  553.            AMIGA 36        A11             Controller 21          A10
  554.            AMIGA 38        A12             Controller 20          A11
  555.            AMIGA 39        A13             Controller 19          A12
  556.            AMIGA 41        A14             Controller 18          A13
  557.            AMIGA 43        A15             Controller 17          A14
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.                                        - 8 - 
  568.  
  569.  
  570.  
  571.             FROM         SIGNAL              TO                   SIGNAL
  572.            =======       ======         ===================       ======
  573.            AMIGA 74        *AS             IC1, pin 1
  574.  
  575.            AMIGA 45        A16             IC1, pin 2
  576.            AMIGA 52        A18             IC1, pin 4
  577.            AMIGA 56        A20             IC1, pin 6
  578.            AMIGA 58        A21             IC1, pin 8
  579.            AMIGA 59        A23             IC1, pin 11
  580.            AMIGA 57        A22             IC1, pin 13
  581.            AMIGA 54        A19             IC1, pin 15
  582.            AMIGA 47        A17             IC1, pin 17
  583.  
  584.            AMIGA 70        *LDS            IC2, pin 2
  585.                                            IC2, pin 3
  586.  
  587.            AMIGA 68        R/*W            IC2, pin 4
  588.                                            IC3, pin 3
  589.  
  590.            AMIGA 53        *Reset          IC3, pin 9
  591.  
  592.            IC3, pin 12                     Controller B14          *IOR
  593.  
  594.            IC3, pin 6                      Controller B13          *IOW
  595.  
  596.            IC3, pin 8                      Controller B2           RESET
  597.  
  598.            IC3, pin 4                      IC2, pin 13
  599.  
  600.            IC1, pin 19                     IC2, pin 1
  601.                                            IC2, pin 5
  602.  
  603.            IC2, pin 12                     IC3, pin 13
  604.  
  605.            IC2, pin 6                      IC3, pin 5
  606.  
  607.           It  took me about 3 hours to wire wrap (pencil) my prototype.  It
  608.           actually  took  about  8 hours to make the PC board,  but  it  is
  609.           neater.  Both worked the same, but the PC board version  did work
  610.           the first time, while the wire wrap took many hours of debugging.
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.                                        - 9 - 
  627.  
  628.  
  629.  
  630.           Definition of the PC controller bus.  To Determine front to back,
  631.           hold  the disk controller in front of you  with  the  edge  board
  632.           connector pointed  down and the components  on  the  right  side.
  633.           In this position, the front  of  the controller is  the  part  of 
  634.           the  controller  closest  to  you,  the  rear  is farthest away.
  635.  
  636.  
  637.                                Rear of Controller
  638.                        Ground ---   B1    A1  --- *I/O Channel Check (nu)
  639.                         Reset ---   B2    A2  ---  Data bit 7
  640.                      +5 Volts ---   B3    A3  ---  Data bit 6
  641.                     IRQ2 (nu) ---   B4    A4  ---  Data bit 5
  642.                 -5 Volts (nu) ---   B5    A5  ---  Data bit 4
  643.                     DRQ2 (nu) ---   B6    A6  ---  Data bit 3
  644.                -12 Volts (nu) ---   B7    A7  ---  Data bit 2
  645.                          (nu) ---   B8    A8  ---  Data bit 1
  646.                     +12 Volts ---   B9    A9  ---  Data bit 0
  647.                        Ground ---  B10    A10 ---  I/O Channel Ready (nu)
  648.                 *Memory Write ---  B11    A11 ---  Address Enable    (nu)
  649.                  *Memory Read ---  B12    A12 ---  Address bit 19
  650.                    *I/O Write ---  B13    A13 ---  Address bit 18
  651.                     *I/O Read ---  B14    A14 ---  Address bit 17
  652.                   *DACK3 (nu) ---  B15    A15 ---  Address bit 16
  653.                     DRQ3 (nu) ---  B16    A16 ---  Address bit 15
  654.                   *DACK1 (nu) ---  B17    A17 ---  Address bit 14
  655.                     DRQ1 (nu) ---  B18    A18 ---  Address bit 13
  656.                   *DACK0 (nu) ---  B19    A19 ---  Address bit 12
  657.                    CLOCK (nu) ---  B20    A20 ---  Address bit 11
  658.                     IRQ7 (nu) ---  B21    A21 ---  Address bit 10
  659.                     IRQ6 (nu) ---  B22    A22 ---  Address bit 9
  660.                     IRQ5 (nu) ---  B23    A23 ---  Address bit 8
  661.                     IRQ4 (nu) ---  B24    A24 ---  Address bit 7
  662.                     IRQ3 (nu) ---  B25    A25 ---  Address bit 6
  663.                   *DACK2 (nu) ---  B26    A26 ---  Address bit 5
  664.           Terminal Count (nu) ---  B27    A27 ---  Address bit 4
  665.           Addr Latch Enb (nu) ---  B28    A28 ---  Address bit 3
  666.                      +5 Volts ---  B29    A29 ---  Address bit 2
  667.               Oscillator (nu) ---  B30    A30 ---  Address bit 1
  668.                        Ground ---  B31    A31 ---  Address bit 0
  669.                               FRONT OF CONTROLLER
  670.  
  671.           Please note that the component side  of  the  controller  is  the
  672.           A-side of  the connector and the B side is the solder side.  (nu)
  673.           indicates this is not actively used by the controller.
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.                                        - 10 - 
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.                                       Chapter 4
  697.  
  698.                                       CHECKOUT
  699.  
  700.  
  701.  
  702.  
  703.  
  704.               ****************** THIS IS IMPORTANT ******************
  705.               ******************* DON'T SKIP THIS *******************
  706.  
  707.           With  an  ohmmeter,  verify  ALL  connections.    Pay  particular
  708.           attention to the ground, 5 volt and 12 volt connections.
  709.  
  710.           With the ohmmeter verify  that  there  are NO connections between
  711.           the 5 Volt lines and ground, the 12 Volt lines and ground, the 12
  712.           Volt  line  and  all  controller  connections  (except   the  one
  713.           expected) and lastly the 12 Volt line and the 5 Volt line.
  714.  
  715.           *****************************************************************
  716.           ***   PLEASE MAKE SURE YOU PERFORM THE PREVIOUSLY OUTLINED    ***
  717.           ***   CHECKOUT!!!!  I DIDN'T AND IT COST ME 3 DISK CONTROLLER ***
  718.           ***   BOARDS!!!                                               ***
  719.           *****************************************************************
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.                                        - 11 - 
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.                                       Chapter 5
  755.  
  756.                            CONTROLLER/DISK DRIVE SELECTION
  757.  
  758.  
  759.           At the current time, this interface has only been tested with:
  760.  
  761.                WESTERN DIGITAL's 27X and XT-GEN2 series, PC-XT 8-bit bus
  762.                                  disk controllers.
  763.  
  764.           The  27X  series  is an RLL controller while the XT-GEN2 is a MFM
  765.           controller.   What does this mean to you?  Well, the 27X, for $10
  766.           more, will  provide approximately 50% more disk capacity than the
  767.           XT-GEN2.
  768.  
  769.           With the demonstration version of this project, both will provide
  770.           the same  capacity,  10  Megabytes.    Once  registered, however,
  771.           you'll  be  able   to   take  advantage  of  the  the  additional
  772.           capability.
  773.  
  774.           Why then would you use the XT-GEN?  Supposedly, it should be used
  775.           with  a  certified RLL drive.  Currently  I'm  using  it  with  a
  776.           Micropolis  33  Meg  non-certified  RLL  drive and yet to have  a
  777.           reported error, and  it  gives  me  53 Meg of space. Friends have
  778.           reported similar  success.  But, if you believe the manufactures,
  779.           I'm risking a massive failure.  Since I backup regularly,  I take
  780.           the risk for the additional storage.
  781.  
  782.           While  it   is  anticipated  that  other  PC-XT  8-bit  bus  disk
  783.           controllers  should  work,  I  have  as yet tested any and  don't
  784.           expect to.  I will, however, make available information regarding
  785.           other controllers if you all will keep me informed. If you happen
  786.           to try one,  it  may work.  If it does let me know and I'll share
  787.           it with others.
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.                                        - 12 - 
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.                                       Chapter 6
  814.  
  815.                                     INSTALLATION
  816.  
  817.  
  818.           Section 6.1  Hardware        
  819.  
  820.  
  821.  
  822.           Install the adapter card on  the Amiga's expansion port.  Install
  823.           the  hard  disk  controller,  making  sure  that  it is  properly
  824.           oriented.    Refer  to the layout.iff picture  to  determine  the
  825.           connector numbering and verify that it  matches your layout.
  826.  
  827.           The hard disk controller requires  two ribbon cables, in the case
  828.           of  the    specified Western Digital 27X series controller, a 34-
  829.           conductor control cable should be connected to connector J1 and a
  830.           20-conductor data cable should be connected to J2.
  831.  
  832.           Since there are different  hardware  configurations  for  the 27X
  833.           series,  if controller configuration jumpers are available,  they
  834.           should be set as follows:
  835.  
  836.                1. BIOS ROM Disabled (sorry but the Amiga can't use a PC
  837.                   BIOS).
  838.                2. Primary Addressing Enabled (Card address 320 through 323
  839.                   hex).
  840.                3. Neither IRQ2 or IRQ5 are used (any selection acceptable).
  841.                4. Primary Controller (I don't think this matters and mainly
  842.                   relates to the BIOS ROM which is disabled).
  843.                5. Firmware translation disabled (I don't think this matters
  844.                   either as it probably relates to the ROM too).
  845.  
  846.           Now that you're confused, I used mine as  it  came  from  the box
  847.           with no problems.  But if  you  have problems, you might try this
  848.           setup.
  849.  
  850.           Now  attach  the  other  ends  of  the  ribbon  cables  to  their
  851.           appropriate  connectors on  the  disk drive.  Attach a disk power
  852.           supply to the disk drive.
  853.  
  854.           As far as power is concerned, my standard Amiga power  supply was
  855.           able  to    power  my  500,  512k  expansion  module and the disk
  856.           controller.  The disk had to  be  powered separately.  I ended up
  857.           adapting a PC-clone power  supply  to allow me to power my entire
  858.           system, including the Amiga.  I even purchased a clone PC cabinet
  859.           to hold my external (self-built) 3.5 inch drive and my hard disk.
  860.           This project should be appearing in the Public Domain shortly, if
  861.           not yet.
  862.                                        - 13 - 
  863.  
  864.  
  865.  
  866.           Congratulations!  The entire hardware installation is complete.
  867.  
  868.  
  869.           Section 6.2  Testing and Low-Level Formatting
  870.  
  871.  
  872.           From the CLI, enter install.ByNeryDemo.  Hard Disks require to be
  873.           low-level formatted.  This is  not to be confused with AmigaDos's
  874.           format.  This  operation prepares the disk to be  compatible with
  875.           the  controller.    To  perform this operation select format from
  876.           the list.  The requested  parameter, Interleave, is the number of
  877.           sectors  that  must  be  skipped  between  consecutive  reads are
  878.           performed.  My testing indicates  an  interleave  of  10-12 (RLL)
  879.           yields the best performance.  At this time, request 12  and press
  880.           the carriage return.
  881.  
  882.           At  this point the drive light should light.  It's time for a cup
  883.           of  coffee.  This  operation can take up to 10 minutes.  Once the
  884.           Drive light goes out, the operation is complete.
  885.  
  886.           Now, from the menu of install.ByNeryDemo, try reading and writing
  887.           some sectors.  For  the  public  domain  version,  the acceptable
  888.           ranges are:
  889.  
  890.               HEADS:     0 to 3
  891.               Cylinders: 0 to 305
  892.               Sectors:   1 to 16
  893.  
  894.           After playing with it for a  while,  you are ready to install the
  895.           driver  add  a  mountlist entry.  Move on to the next chapter for
  896.           this information.
  897.  
  898.  
  899.           Section 6.3  Software Installation
  900.  
  901.  
  902.             1. Make a copy of your boot disk and put the original away!
  903.  
  904.             2. Copy the file, pcif.device, in the Devs drawer of the new
  905.                boot disk.
  906.  
  907.             3. CD to the new disk's Devs directory.
  908.  
  909.             4. Using your favorite editor:
  910.  
  911.                 a) Edit the mountlist file
  912.  
  913.                 b) Go to the end of the file
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.                                        - 14 - 
  922.  
  923.  
  924.  
  925.                 c) Add the following (make sure that  when  entering  "dh0:
  926.                    Device =" line, that Capitalization of ByNeryDemo.device
  927.                    is exactly as shown.
  928.  
  929.           /*
  930.           ** pcif.device - hard disk definition.
  931.           */
  932.           dh0:     Device = ByNeryDemo.device
  933.                    Unit = 0
  934.                    Flags = 0
  935.                    Surfaces = 4
  936.                    BlocksPerTrack = 17
  937.                    Reserved = 2
  938.                    Interleave = 0
  939.                    LowCyl = 0 ; HighCyl = 305
  940.                    Buffers = 30
  941.                    BufMemType = 0
  942.           #
  943.  
  944.                 d) write the file and exit the editor.
  945.  
  946.             5. After write completes, reboot your Amiga (Ctrl-Amiga-Amiga).
  947.  
  948.             6. Open a cli after boot completes.
  949.  
  950.             7. Type "mount dh0:"
  951.  
  952.             8. Type "system/format drive dh0: name AnyName QUICK
  953.  
  954.           You have now completed the installation of the disk.  Try copying
  955.           files to it  and looking at it with dir.  You can now modify your
  956.           S:Startup-Sequence file  to  automatically  mount  it  by  adding
  957.           "mount dh0:" in the startup file.
  958.  
  959.           In  case your wondering, yes you can  modify  the  mountlist  and
  960.           utilize the drive with the FFS (Fast File System).  And  you will
  961.           notice a significant performance improvement.  Just don't forget,
  962.           after modifying the mountlist you must perform step 8 above again
  963.           (format it).  You can also play with the low-level format  to try
  964.           to  optimize  the  performance of the  disk,  using  any  of  the
  965.           available disk performance programs.
  966.  
  967.           From this point on, your on your own.  You can  use  this  as any
  968.           disk  would be used.  If your interested  in  the  full  featured
  969.           driver/setup program, please see the next chapter and register.
  970.  
  971.           If you wish to contact me, I am available on Compuserve, ID:
  972.                                     76662,3651
  973.  
  974.           Please do not request ready made units, I currently do  not  plan
  975.           on manufacturing them, at this time.  Also please understand that
  976.           my main support will be to those registered users.
  977.  
  978.  
  979.  
  980.                                        - 15 - 
  981.  
  982.  
  983.  
  984.  
  985.                                       Chapter 7
  986.  
  987.                                     REGISTRATION
  988.  
  989.  
  990.           Please PRINT clearly.
  991.  
  992.  
  993.           NAME:     _______________________________________________
  994.  
  995.           STREET:   _______________________________________________
  996.  
  997.           CITY:     ______________________________ STATE: _________
  998.  
  999.           COUNTRY:  __________________
  1000.  
  1001.           ZIP CODE: ______
  1002.  
  1003.  
  1004.           Requested Information Questionnaire:
  1005.  
  1006.             What Controller Did You Use? _____________________________
  1007.  
  1008.             Did you have problems?       ____YES     ____NO
  1009.  
  1010.             Would you purchase a PC board if available?
  1011.                                          ____YES     ____NO
  1012.  
  1013.             Would a cost of $25 be excessive?
  1014.                                          ____YES     ____NO
  1015.  
  1016.             Comments?_________________________________________________
  1017.  
  1018.             __________________________________________________________
  1019.  
  1020.             __________________________________________________________
  1021.  
  1022.             __________________________________________________________
  1023.  
  1024.  
  1025.           Enclosed is $30.00 to register my usage of Product ByNery's
  1026.                     Amiga 500 - to - IBM style Hard Disk Interface
  1027.  
  1028.           Please   send   my   registration  kit  and  add   me   to   your
  1029.           support/notification list.
  1030.  
  1031.           Send this form, and a check made payable to Products ByNery, to:
  1032.  
  1033.                                    Products ByNery
  1034.                                   14 Chambers Court
  1035.                                  Mansfield, Ma  02048
  1036.  
  1037.  
  1038.  
  1039.                                        - 16 - 
  1040.